#ifndef __ELECQUTTFUNCTION_H__
#define __ELECQUTTFUNCTION_H__
#include "../types.h"
#include "../electricity_quantity_statistics.h"


int insertElecQuttData_db(int year, int month, int day, int hour, char* isDiscOrChrg, char* isAcOrBat, 
                          float totalElecData, float yearElecData, float monthElecData, float dayElecData, float hourElecData);

int readElecQuttData_db(struct elecQuttDataDB* peqdata, queryDataType_t queryType);

int deleteElecQuttData_db(void);


#endif //__ELECQUTTFUNCTION_H__